//
//	MCInfoRecommandOrder.swift
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport

import Foundation 
import ObjectMapper


class MCInfoRecommandOrder : NSObject, NSCoding, Mappable{

	var asc : Bool?
	var column : String?


	class func newInstance(map: Map) -> Mappable?{
		return MCInfoRecommandOrder()
	}
	required init?(map: Map){}
	private override init(){}

	func mapping(map: Map)
	{
		asc <- map["asc"]
		column <- map["column"]
		
	}

    /**
    * NSCoding required initializer.
    * Fills the data from the passed decoder
    */
    @objc required init(coder aDecoder: NSCoder)
	{
         asc = aDecoder.decodeObject(forKey: "asc") as? Bool
         column = aDecoder.decodeObject(forKey: "column") as? String

	}

    /**
    * NSCoding required method.
    * Encodes mode properties into the decoder
    */
    @objc func encode(with aCoder: NSCoder)
	{
		if asc != nil{
			aCoder.encode(asc, forKey: "asc")
		}
		if column != nil{
			aCoder.encode(column, forKey: "column")
		}

	}

}